package com.alibaba.nacos.plugin.datasource.impl.pgsql;

import com.alibaba.nacos.plugin.datasource.enums.pgsql.TrustedPgsqlFunctionEnum;
import com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper;

/**
 * @Description
 * @Author YingBo.Dai
 * @Date 2024/11/12
 * @Version 1.0
 */
public abstract class AbstractMapperByPgSql extends AbstractMapper {

    public AbstractMapperByPgSql() {
    }

    public String getFunction(String functionName) {
        return TrustedPgsqlFunctionEnum.getFunctionByName(functionName);
    }
}
